import java.util.Scanner;

public class op05 {
    public static void main(String[] args) {
        int year;
        Scanner input = new Scanner(System.in);
        System.out.println("输入年份");
        year = input.nextInt();
        if (year%4==0&&year%100!=0){
            System.out.println("是闰年");
        }else if(year%400==0){
            System.out.println("是闰年");
        }
        else{
            System.out.println("不是闰年");
        }
    }
}
